Skip to content

Conversation

@ERoydev
Copy link
Collaborator

@ERoydev ERoydev commented Oct 22, 2025

All fallback logic is preserved. If the programId cannot be derived from the module, the public key is used directly as before.

@ERoydev ERoydev requested a review from vlady-kotsev October 22, 2025 14:33
@ERoydev ERoydev merged commit 1ee2e66 into feat/codama-new-approach Oct 24, 2025
@ERoydev ERoydev deleted the chore/derive-programId branch October 24, 2025 12:49
vlady-kotsev added a commit that referenced this pull request Oct 27, 2025
* initial

* fix: pda derrivation

* fix: remove redundant code

* fix: remove redundant code, add borsh_annotation_extended lib

* feat: add signed numbers custom handling

* chore: update dependency commit ref

* chore: update borsh_extended commit ref

* Chore/consistent lib exports (#6)

* fix: export programs

* fix: Hardcode to use lib, so build runner can work properly

* feat: add generateBorsh flag (#7)

* Derive the programID from programs module (#8)

* fix: Instruction fragment gets programId from programs module

* fix: Use the programs module to derive programId in pdas

* feat: add enum support (#10)

* feat: add enum support

* chore: update borsh_extended ref

* Feat/multi program file structure (#12)

* feat: add enum support

* feat: add programName folder

* fix: redundant param and relative import

* Feat/pda derrivation from args (#13)

* feat: handle pda derrivation from instruction args

* chore: update borsh extended ref

* chore: migrate to published borsh_annotations_extended

* feat: add basic tests (#14)

* fix: package.json, update borsh_extended package version

* chore: add changelog

* chore: update readme

---------

Co-authored-by: Emil Roydev <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants